<?php if ($arr_products): ?>
  <?php foreach ($arr_products as $arr_product): ?>
      <li>
        <a rel="mainPopup[ajax]" href="<?php echo base_url("gian-hang/{$arr_product['b_slug']}/{$arr_product['slug']}"); ?>" data-url="<?php echo "/gian-hang/{$arr_product['b_slug']}/{$arr_product['slug']}"; ?>">
          <img src="<?php echo base_url("upload/booth/{$arr_product['user_id']}/products/avatar/{$arr_product['id']}/{$arr_product['avatar']}"); ?>">
        </a>
        <div class="caption">
          <div style="margin-top: 6px; border:1px dashed #C6C6C6"></div>
          <h6><?php echo characterLimiter($arr_product['name'], 28); ?></h6>
          <div style="color: #1C5AC4;">aaaaaaaaa</div>
        </div>
      </li>
  <?php endforeach; ?>
<?php endif; ?> 